
#include "member_BScreen.h"

using namespace BWE;

#define member					(*(member_BScreen*)_ptr)
#define member_allocate()		_ptr = new member_BScreen(this)
#define member_release()		delete (member_BScreen*)_ptr

BScreen::BScreen()
{
	member_allocate();
}
BScreen::~BScreen()
{
	member_release();
}

int BScreen::number() const
{
	return member.number;
}
int BScreen::pixelBits() const
{
	return member.pixelBits;
}
const BPoint& BScreen::pos() const
{
	return member.pos;
}
const BSize& BScreen::size() const
{
	return member.size;
}
const BString& BScreen::info() const
{
	return member.info;
}

BRect BScreen::rect() const
{
	return BRect(member.pos, member.size);
}

